#pragma once

#include <qdialog.h>

class BaseWindow  : public QDialog
{
	Q_OBJECT

public:
	BaseWindow();
	~BaseWindow();
protected:
	void mousePressEvent(QMouseEvent* event) override;
	void mouseReleaseEvent(QMouseEvent* event) override;
	void mouseMoveEvent(QMouseEvent* event) override;
private:
	Qt::MouseButton current_btn;
	QPoint current_mouse_point;
};
